package com.igeek.boot.service;

import com.igeek.boot.entity.ZhrjAlarmInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.igeek.boot.result.EventDateDTO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 事件表 服务类
 * </p>
 *
 * @author fengqq
 * @since 2024-08-23
 */
public interface IZhrjAlarmInfoService extends IService<ZhrjAlarmInfo> {

    Map<String, Object> eventStatistic();

    List<EventDateDTO> eventMonthCount(int year, int month);

    List<ZhrjAlarmInfo> findAllAlarmInfo(String wanIp, Long deptId, Integer eventType);
}
